s='*'
for a in range(1,8,2):
    print((s*a).center(7))
for a in reversed(range(1,6,2)):
    print((s*a).center(7))

